from celery.result import AsyncResult
from demo1 import app

result_obj=AsyncResult(id='a8cd5109-ebec-47d4-a5f6-46729e1750f2',app=app)
data=result_obj.get()
print(result_obj.status)
print(data)